package com.tedu.udm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tedu.udm.pojo.entity.User;
import com.tedu.udm.pojo.entity.UserRole;
import org.springframework.stereotype.Repository;

import java.util.Collection;

//在对应的Mapper 接口上 基础基本的 BaseMapper<T> T是对应的pojo类
@Repository   //告诉容器你是持久层的 @Repository是spring提供的注释，能够将该类注册成Bean
public interface UserRoleMapper extends BaseMapper<UserRole> {
    Integer insertBatchSomeColumn(Collection<UserRole> entityList);
}
